<script setup>
defineProps({
  //主标题
  title: {
    type: String,
  },
  //副标题
  subTitle: {
    type: String,
  },
});
</script>

<template>
  <div style="margin-top: 20px;">
    <div
      class="panelContainer"
      style="display: flex; align-items: baseline; margin-left: 220px"
    >
      <div class="title" style="font-size: 30px">
        {{ title }}
      </div>
      <div class="subTitle" style="margin-left: 30px; color: #d3d0cc">
        {{ subTitle }}
      </div>
    </div>
    <div style="display: flex;align-items: center;justify-content: center;">
      <slot></slot>
    </div>
    
  </div>
</template>

<style scoped>
</style>